package com.qcby.mycommunity_003.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qcby.mycommunity_003.entity.Menu;
import com.qcby.mycommunity_003.vo.AllMenuParent;
import com.qcby.mycommunity_003.vo.MenuRecordVO;

import java.util.List;

/**
 * <p>
 * 菜单管理 服务类
 * </p>
 *
 * @author admin
 * @since 2024-03-24
 */
public interface MenuService extends IService<Menu> {
    /**
     * 动态路由
     * @param userId
     * @return
     */
    public List<MenuRecordVO> getMenusByUserId(Integer userId);

    List<AllMenuParent> Menulist();
}
